﻿using MediatR;
using SmartProduction.Domain.客户管理.WorkOrder;
using SmartProduction.ErrorCode;

namespace SmartProduction.Read.API.Application.Commands.work_SalesOrderCommand
{
    /// <summary>
    /// 销售订单列表查询命令
    /// </summary>
    public class work_SalesOrderQueryCommand : IRequest<APIResult<APIPaing<work_SalesOrder>>>
    {
        /// <summary>
        /// 当前页
        /// </summary>
        public int PageIndex { get; set; }

        /// <summary>
        /// 页码
        /// </summary>
        public int PageSize { get; set; }

        /// <summary>
        /// 销售单号
        /// </summary>
        public string? OrderCode { get; set; } // XSDD264846

        /// <summary>
        /// 销售订单主题
        /// </summary>
        public string? OrderSubject { get; set; } // 新产品销售订单0051
    }
}
